package video
{
	import flash.media.Video;
	
	import mx.core.UIComponent;
	
	[Bindable]
	public class VideoPlayer extends UIComponent
	{
		public var recVideo:Video;	
		public var videoState:String;
		
		public function VideoPlayer(width:int=640, height:int=480)
		{
			super();
			
			recVideo = new Video(width,length);
			videoState = "无图像";
			recVideo.width = width;
			recVideo.height = height;
			
			this.addChild(recVideo);
			this.width = width;
			this.height = height;
			this.x = 0;
			this.y = 0;
		}
	}
}